package finassist.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * AJ Projects
 * Entity.java
 * Purpose: Entity Bean.
 *
 * @author Karthick Natarajan
 * @version 1.0 9/16/13
 */

@Entity
@Table(name="public.fnas_ledger_master")
public class Ledger{
	
//	private static final long serialVersionUID = -8767337896773261247L;

	private String id;
	private String entitiId;
	
	private String ledgerName;
	
	private String ledgerType;
	private String ledgerSubType;
	private String createDate;
	private String createdBy;
	

	@Id
	@GeneratedValue
	@Column(name="LEDGER_UID")
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name="entity_uid")
	public String getEntitiId() {
		return entitiId;
	}

	public void setEntitiId(String entitiId) {
		this.entitiId = entitiId;
	}
	
	@Column(name="LEDGER_NAME")
	public String getLedgerName() {
		return ledgerName;
	}

	public void setLedgerName(String ledgerName) {
		this.ledgerName = ledgerName;
	}

	@Column(name="LEDGER_TYPE")
	public String getLedgerType() {
		return ledgerType;
	}

	public void setLedgerType(String ledgerType) {
		this.ledgerType = ledgerType;
	}

	@Column(name="LEDGER_SUB_TYPE")
	public String getLedgerSubType() {
		return ledgerSubType;
	}

	public void setLedgerSubType(String ledgerSubType) {
		this.ledgerSubType = ledgerSubType;
	}
	
	@Column(name="LEDGER_CREATED_DATE")
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	@Column(name="LEDGER_CREATED_BY")
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	
	
}
